package com.king.security.config;

import lombok.Getter;
import lombok.Setter;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.context.annotation.PropertySource;
import org.springframework.stereotype.Component;

/**
 * @author KING
 * @date 2018/8/30 18:17
 */
@Component
@PropertySource(value = "classpath:application.properties",encoding = "utf-8")
@Setter
@Getter
public class TestProperties {

    @Value("${com.neo.title}")
    private String title;

    @Value("${com.neo.description}")
    private String description;

}